// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
//导入路由模块
import VueRouter from 'vue-router';
//导入路由的包

Vue.use(VueRouter)
import router from './router/router.js'

//导入axios
import axios from 'axios'
import Qs from 'qs'
Vue.prototype.axios = axios;
Vue.prototype.qs = Qs;

//引入mint ui
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'

//引入顶部样式组件
import { Header ,Swipe, SwipeItem} from 'mint-ui';
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

//引入mui样式组件
import './lib/mui/css/mui.min.css'

//引入mui的字体图标
import './lib/mui/css/icons-extra.css'



Vue.use(MintUI)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
